package com.example.presentshopping.ui.activity

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.example.presentshopping.R
import com.example.presentshopping.config.base.BaseMvpActivity
import com.example.presentshopping.mvp.presenter.PublicPresenter
import kotlinx.android.synthetic.main.activity_alipay_payby.*

class AlipayActivity : BaseMvpActivity() {

    private var queryInfoPresenter: PublicPresenter? = null

    override val layoutId: Int
        get() = R.layout.activity_alipay_payby

    override fun initView(savedInstanceState: Bundle?) {
        queryInfoPresenter = PublicPresenter(this, false, "")
        queryInfoPresenter?.attachView(this)
        title_main_tv.leftBackImageTv.setOnClickListener { finish() }
        title_main_tv.titleTv.text = "添加银行卡"


    }

    override fun onDestroy() {
        queryInfoPresenter?.detachView()
        super.onDestroy()
    }

    override fun showToast(msg: String?) {

    }

    override fun onFailure(e: Throwable?, code: Int, msg: String?, isNetWorkError: Boolean) {

    }

    override fun onSuccess(data: String?) {

    }
}